package gui;

import gui.MatchPointDialogue.MatchPointDialog;
import gui.MatchPointDialogue.RefreshClassement;

import java.awt.Frame;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JMenuItem;

public class MatchPointItem extends JMenuItem implements ActionListener {

	private Frame frame;
	private RefreshClassement rc;
	
	public MatchPointItem(Frame owner,RefreshClassement r) {
		super("Points");
		addActionListener(this);
		frame=owner;
		rc=r;
	}

	private static final long serialVersionUID = 1L;


	public void actionPerformed(ActionEvent arg0) {
		new MatchPointDialog(frame,rc);		
	}
	
	

}
